
package com.an.jackjson;

import java.io.Serializable;
import java.util.List;

/**
 * ClassName: BlackWhiteList <br/>
 * Function: 黑白名单入参实体. <br/>
 * Reason: 黑白名单入参实体. <br/>
 * date: 2017年10月23日 下午4:04:13 <br/>
 *
 * @author atc
 * @version 1.0.0
 * @since JDK 1.7
 */
public class BlackWhiteList implements Serializable {
  /**
   * CALLTYPE_1:产品类型:語音..
   * 
   * @since JDK 1.7
   */
  public static final String CALLTYPE_1 = "1";
  /**
   * CALLTYPE_2: 产品类型:短信.
   * 
   * @since JDK 1.7
   */
  public static final String CALLTYPE_2 = "2";
  /**
   * CALLTYPE_3:产品类型:语音和短信.
   * 
   * @since JDK 1.7
   */
  public static final String CALLTYPE_3 = "3";
  /**
   * TYPE_1:名单类型 1，黑名单.
   * 
   * @since JDK 1.7
   */
  public static final String TYPE_1 = "1";
  /**
   * TYPE_2: 名单类型2，白名单.
   * 
   * @since JDK 1.7
   */
  public static final String TYPE_2 = "2";
  /**
   * serialVersionUID:序列化号.
   * 
   * @since JDK 1.7
   */
  private static final long serialVersionUID = 1L;
  /**
   * bindingId: 绑定id .
   * 
   * @since JDK 1.7
   */
  private String bindingId;
  /**
   * callType:产品类型. 1：语音 2：短信 3：语音和短信 暂时不支持设置1或者2.
   * 
   * @since JDK 1.7
   */
  private String callType;
  /**
   * type:名单类型. 1：黑名单 2：白名单 黑名单优先级最高.
   * 
   * @since JDK 1.7
   */
  private String type;
  /**
   * list:黑白名单，可多个，逗号分隔.
   * 
   * @since JDK 1.7
   */
  private List<String> list;

  public String getBindingId() {
    return bindingId;
  }

  public void setBindingId(String bindingId) {
    this.bindingId = bindingId;
  }

  public String getCallType() {
    return callType;
  }

  public void setCallType(String callType) {
    this.callType = callType;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public List<String> getList() {
    return list;
  }

  public void setList(List<String> list) {
    this.list = list;
  }

  @Override
  public String toString() {
    return "BlackWhiteList [bindingId=" + bindingId + ", callType=" + callType
        + ", type=" + type + ", list=" + list + "]";
  }

 

}
